<div id="komitentWWWData_{{$komitent_id}}_{{$del_id}}">
<a style="margin:-9px -9px 0px 0px; float:right;" href="javascript:void(0)" onclick="this.parentNode.parentNode.parentNode.removeChild(this.parentNode.parentNode)" title="zatvori"><img src="gui/close_12.gif" border="0" /></a>
<input type="hidden" name="komdel" value="{{$komdel}}" />
<fieldset>
  <legend>Profil</legend>
  	<!-- TIP PROFILA -->
	<label for="tip_profila" style="width:{{$firstLabelWidth}}px;">Tip profila:</label>
	<select name="tip_profila">
		{{%loop start tip_profila_id}}
		<option value="{{$tip_profila_id}}" title="{{$tip_profila_desc}}" {{$tip_profila_selected}}>{{$tip_profila_name}}</option>
		{{%loop end}}
	</select>
	<!-- DATUM POSTAVLJANJA -->
	<label for="logo_start" style="width:{{$secondLabelWidth}}px;">Datum postavljanja:</label>
	<input type="text" maxlength="10" name="logo_start" id="logo_start" value="{{$logo_start}}" />
	<input type="button" class="datePicker" onclick="displayDatePicker('logo_start',this)" /><br clear="all" />
	<!-- LOGO -->
	<label for="logo_path" style="width:{{$firstLabelWidth}}px;">Logo: </label><input type="text" name="logo_path" id="logo_path" value="{{$logo}}" />
	<!-- DATUM ISTEKA -->
	<label for="logo_end" style="width:{{$secondLabelWidth}}px;">Datum isteka:</label>
	<input type="text" maxlength="10" name="logo_end" id="logo_end" value="{{$logo_end}}" />
	<input type="button" class="datePicker" onclick="displayDatePicker('logo_end',this)" /><br clear="all" />
</fieldset><br clear="all" />

<fieldset>
  <legend>Baner</legend>
	<!-- BANER TIP -->
	<label for="baner_tip" style="width:{{$firstLabelWidth}}px;">Tip banera: </label>
	<select name="baner_tip" id="baner_tip">
		<option value="0">---</option>
		{{%loop start baner_tip_id}}
		<option value="{{$baner_tip_id}}" title="{{$baner_tip_desc}}" {{$baner_tip_selected}}>{{$baner_tip_name}}</option>
		{{%loop end}}
	</select>
	<!-- BANER START -->
	<label for="baner_start" style="width:{{$secondLabelWidth}}px;">Datum postavljanja: </label>
	<input type="text" name="baner_start" id="baner_start" value="{{$baner_start}}" />
	<input type="button" class="datePicker" onclick="displayDatePicker('baner_start',this)" />
	<br clear="all" />
	<!-- BANER NAME -->
	<label for="baner_link" style="width:{{$firstLabelWidth}}px;">link:</label>
	<input type="text" name="baner_link" id="baner_link" value="{{$baner_link}}" />
	<!-- BANER END -->
	<label for="baner_end" style="width:{{$secondLabelWidth}}px;">Datum isteka: </label>
	<input type="text" name="baner_end" id="baner_end" value="{{$baner_end}}" />
	<input type="button" class="datePicker" onclick="displayDatePicker('baner_end',this)" />
	<br clear="all" />
	<!-- BANER TITLE -->
	<label for="baner_title" style="width:{{$firstLabelWidth}}px;">naslov:</label>
	<input type="text" name="baner_title" id="baner_title" style="width:395px;" value="{{$baner_title}}" />
	<br clear="all" />
	<!-- BANER NAME/TEXT -->
	<label for="baner_name" style="width:{{$firstLabelWidth}}px;">naziv/sadržaj: </label>
	<textarea name="baner_name" id="baner_name" style="width:395px; clear:none">{{$baner_name}}</textarea>
</fieldset><br clear="all" />

<fieldset>
  <legend>www</legend>
  	<!-- DATUM HOSTING -->
	<label for="hosting" style="width:{{$firstLabelWidth}}px;">Hosting: </label>
	<input type="text" name="hosting" id="hosting" value="{{$hosting}}" />
	<input type="button" class="datePicker" onclick="displayDatePicker('hosting',this)" />
	<br clear="all" />
	<!-- TEST ADRESA -->
	<label for="test_adresa" style="width:{{$firstLabelWidth}}px;">Test adresa:</label><input type="text" name="test_adresa" id="test_adresa" value="{{$test_adresa}}" />
	<!-- KON. ADRESA -->
	<label for="kon_adresa" style="width:{{$secondLabelWidth}}px;">Konacna adresa:</label><input type="text" name="kon_adresa" id="kon_adresa" value="{{$kon_adresa}}" />
</fieldset><br clear="all" />
<input type="button" value="import" onclick="importWWWData(this,'{{$komitent_id}}','{{$del_id}}')" style="float:left; background-image:url(gui/icons/ugovor.gif); background-repeat:no-repeat; background-position:3px center; padding-left:16px;" />
<input type="button" value="sacuvaj" onclick="saveWWWData(this)" style="float:right; background-image:url(gui/icons/save.gif); background-repeat:no-repeat; background-position:3px center; padding-left:16px;" />
</div>